import ajax from '@/api/public'

export const getIndex = (params) => {
  return ajax.fetchGet('/index', params)
}

export const getCustomInfo = (params) => {
  return ajax.fetchGet('/index-custom-info', params)
}

export const getDepartment = (params) => {
  return ajax.fetchGet('/get-department-list', params)
}

export const getSale = (params) => {
  return ajax.fetchGet('/sale-ranking-by-callerCount', params)
}
